﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test2
{
    class TimeEventArgs
    {
        private int hour, minute, second;
        public TimeEventArgs()
        {
            this.hour = Int32.Parse(DateTime.Now.Hour.ToString());
            this.minute = Int32.Parse(DateTime.Now.Minute.ToString());
            this.second = Int32.Parse(DateTime.Now.Second.ToString());
        }
        public int Hour 
        {
            get
            {
                return hour;
            }
        }
        public int Minute
        {
            get
            {
                return minute;
            }
        }
        public int Second
        {
            get
            {
                return second;
            }
        }
    }
}
